import java.util.Scanner;

public class HomeWork13_07{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        
        System.out.print("please enter 10 students' scores: ");
        String[] scores = new String[10];
        for(int i = 0; i < 10; i++){
            scores[i] = scan.next();
        }
        
        scores = CheckScore.checkScore(scores);
        for(String item : scores){
            System.out.println(item);
        }
    }
}

class CheckScore{
    public static String[] checkScore(String[] s){
        for(int i = 0; i < s.length; i++){
            if(Integer.parseInt(s[i]) <= 60){
                s[i] = "不及格";
            }
        }
        return s;
    }
}